// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 验证  保存 指定源  POST */
export async function saveVerify(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AssessWeekCollectAppRecordData.SaveVerify>>(
    '/assess/week/collect/app/record/save/verify',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 初始化  保存 指定源  POST */
export async function saveInit(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AssessWeekCollectAppRecordData.SaveInit>>(
    '/assess/week/collect/app/record/save/init',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 初始化  POST */
export async function saveRecord(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/week/collect/app/record/save', {
    method: 'POST',
    data: options || {},
  });
}


/** 更新  POST */
export async function updateRecord(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/week/collect/app/record/update', {
    method: 'POST',
    data: options || {},
  });
}



/** 传播质效 记录 列表 POST */
export async function pageRecord(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<AssessWeekCollectAppRecordData.RecordPage[]>>(
    '/assess/week/collect/app/record/page',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 传播质效 记录 列表 POST */
export async function selectRecord(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AssessWeekCollectAppRecordData.SelectRecord>>(
    '/assess/week/collect/app/record/select',
    {
      method: 'POST',
      data: options || {},
    },
  );
}
